package com.demo.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.demo.springcloud.pojo.CommonResult;

/**
 * @author chenyuan
 * @date 2020/12/22 11:28
 */

public class CustomerBlockHandler {
	public static CommonResult handleException(BlockException exception) {
		return new CommonResult(2020, "自定义限流处理信息....CustomerBlockHandler");
	}
}

